#ifndef _TASK_CAN_
#define _TASK_CAN_
#ifdef __cplusplus
 extern "C" {
#endif
#include "includes.h"

#ifdef _TASK_CAN_GLOBALS 
#define _TASK_CAN_EXT   
#else   
#define _TASK_CAN_EXT   extern
#endif
__task void CAN2_Data0_Rec(void);
__task void CAN1_Data1_Rec(void);
__task void CAN1_Data0_Rec(void);

_TASK_CAN_EXT uint64_t CAN2_Data0_RecStk[512/8];
_TASK_CAN_EXT uint64_t CAN1_Data1_RecStk[512/8];
_TASK_CAN_EXT uint64_t CAN1_Data0_RecStk[512/8];

_TASK_CAN_EXT OS_TID HandleCAN1_Data0_Rec;
_TASK_CAN_EXT OS_TID HandleCAN2_Data0_Rec;
_TASK_CAN_EXT OS_TID HandleCAN1_Data1_Rec; 
_TASK_CAN_EXT OS_TID HandleCan2_Receive_Msg; 

extern int count0 ;
#ifdef __cplusplus
 }
#endif
#endif
